import api from '../index'

export default {
  // 保存条目
  pageOrderHeaderReport: (data: any) => api.get('/v1/orderHeaderReport/page', { params: data }),
  pageOrderHeaderExcel: (data: any) => api.get('/v1/orderHeaderReport/exportExcel', { params: data, responseType: 'blob' }),
  pageOrderDetailReport: (data: any) => api.get('/v1/orderDetailReport/page', { params: data }),
  pageOrderDetailExcel: (data: any) => api.get('/v1/orderDetailReport/exportExcel', { params: data, responseType: 'blob' }),
}
